<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:p="http://primefaces.org/ui">



<ui:composition template="../WEB-INF/plantilla/layout.xhtml">
    <ui:define name="contenido">
    <h:form id="frmCarga" enctype="multipart/form-data">
		 <p:panel header="CARGA DE ARCHIVOS" id="pnlAlg" style="width:80%;margin:0 20px 0 70px">
    			
		    <p:fileUpload fileUploadListener="#{upfile.cargarFile}" mode="advanced" dragDropSupport="true"  multiple="true"
		            update="frmCarga:messages"  
		            sizeLimit="900000000" fileLimit="10"
		            allowTypes="/(\.|\/)(gif|jpe?g|csv|xls|xlsx)$/" />
		 
		    <p:growl id="messages" showDetail="true"  life="80000"   />
			
	
	   	</p:panel>
    </h:form>
    	
   </ui:define>
</ui:composition>
	
</html>
